  
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&display=swap');

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}


/* sticky  Navbar Container */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center; 
  padding: 20px 20px;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000; 
  box-shadow: 0 0.5px 0.5px rgba(0, 0, 0, 0.1); 
}


/* Logo Styling */
.logo {
  display: flex; /* Flexbox for alignment */
  align-items: center; /* Vertically align logo with hamburger */
}

.logo img {
  max-height: 80px; 
  width: auto; 
  height: auto; 
}





.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  font-weight: 500;
  color: #333;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
color: blue;
text-decoration: underline;
text-decoration-thickness: 2px; 
text-underline-offset: 5px; 
}

/* Dropdown Styling */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff !important;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  z-index: 10;
}

.dropdown-menu li {
  padding: 10px 20px;
  transition: background-color 0.3s ease;
  color: #333 !important;
  text-decoration: none;
  margin-top: -10px;
}

.dropdown-menu li:hover {
  color: blue !important;
}
.caret {
  display: inline-block;
  cursor: pointer;
  border: solid #333;
  border-width: 0 2px 2px 0;
  padding: 5px;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.caret.open {
  transform: rotate(-135deg);
}


.auth-buttons a {
  margin-left: 15px;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.auth-buttons .btn-signup {
  background-color: #0A3C75;
  color: #ffffff;
  border-radius: 7px;
}

.auth-buttons .btn-signup:hover {
  background-color: blue;
}

.auth-buttons .btn-login {
  border: 1px solid blue;
  background-color: transparent;
  border-radius: 7px;
}

.auth-buttons .btn-login:hover {
  background-color: #0A3C75;
  color: #ffffff;
}
.course-back {
  display: none;
  cursor: pointer;
  font-size: 18px; /* Default font size for the text */
  font-weight: 500;
  color: #333;
  align-items: center;
}

.course-back .arrow {
  font-size: 28px; 
  margin-right: 4px; 
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
  .logo {
    display: none; /* Hide the logo on smaller screens */
  }

  .course-back {
    display: flex; 
    align-items: center;
  }

  .course-back span {
    color: #333;
    text-decoration: none;
    cursor: pointer;
  }

  .course-back span:hover {
    color: blue;
    text-decoration: none;
  }
}
/* Hamburger Button */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger .bar {
  width: 30px;
  height: 4px;
  background-color: #333;
  border-radius: 5px;
}

.side-menu {
  position: fixed;
  top: 0;
  right: -500px; /* Fully hidden */
  width: 300px; 
  height: 100%;
  background-color: #0a3d76; 
  box-shadow: -4px 0px 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease; 
  padding: 20px;
  z-index: 1000; /* Ensure it appears above other content */
}

/* Responsive styles */
@media (max-width: 768px) { 
  .side-menu {
    width: 300px;
    right: -500px;
    padding: 15px;
  }
}

@media (max-width: 480px) { /* For small smartphones */
  .side-menu {
    width: 250px; 
    right: -500px;
    padding: 10px; 
  }
}

.side-menu .cancel-icon {
  font-size: 2rem;
  color: white;
  cursor: pointer;
  padding: 10px;
  text-align: right;
}

.side-menu .nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-left: 15px;
}

/* Show auth-buttons in navbar for larger screens */
.auth-buttons {
  display: flex;
  gap: 10px;
}

/* Hide auth-buttons in main navbar on smaller screens */
@media (max-width: 768px) {
  .auth-buttons {
      display: none;
  }
}

/* Auth Buttons in Side Menu */
.side-menu .auth-buttons {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: -20px;
}

.side-menvu .btn-signup,
.side-menu .btn-login {
  padding: 10px 20px;
  border-radius: 7px;
  border: none;
  outline: none;
  text-align: center;
  color: #ffffff;
}

.side-menu .btn-signup {
  background-color: transparent;
}

.side-menu .btn-signup:hover {
  background-color: blue;
}

.side-menu .btn-login {
  background-color: transparent;
}

.side-menu .btn-login:hover {
  background-color: blue;
  color: #ffffff;
}


/* Media Query for Mobile Screens */
@media (max-width: 768px) {
  .nav-links {
      display: none; /* Hide the nav links on small screens */
  }
  .nav-links a {
    font-weight: 500;
    color: white;
    font-size: 16px;
    transition: color 0.3s ease;
  }
  
  .dropdown-menu a {
    color: #333;
  }
    .dropdown {
    align-self: flex-start;
  }
  .hamburger {
      display: flex; /* Show hamburger button on small screens */
  }

  .side-menu.auth-buttons .btn-signup {
    background-color: #0a3d76;
    color: #ffffff;
    border-radius: 7px;
    display: flex;
  }
  
  .auth-buttons .btn-signup:hover {
    background-color: blue;
  }
  
  .side-menu.auth-buttons .btn-login {
    border: 1px solid #0a3d76;
    background-color: transparent;
    border-radius: 7px;
    display: flex;
  }
  
  .auth-buttons .btn-login:hover {
    background-color: blue;
    color: #ffffff;
  }
  

}



/* Logo and Cancel Icon in Side Menu */
.side-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.side-menu-logo {
  max-height: 60px;
  width: auto;
  margin-left: 10px;
}

/* Separator Line */
.menu-separator {
  border: none;
  border-top: 1px solid white;
  margin: 20px 0;
}

/* Cancel Icon */
.cancel-icon {
  font-size: 2rem;
  color: white;
  cursor: pointer;
  padding: 10px;
  text-align: right;
  transition: color 0.3s ease;
}

/* Switch Theme Section */
.theme-switcher {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 0 10px;
}

.theme-switcher p {
  color: white;
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  transition: color 0.3s ease;
}

.theme-icon {
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  font-size: 24px;
  transition: transform 0.3s, color 0.3s ease;
}

.theme-icon:hover {
  transform: scale(1.1);
}

  
.programming-hero-section {
  width: 100%;
  min-height: 400px;
  background: linear-gradient(to right, #0c658e, #12a1d0);
  position: relative;
  overflow: hidden;
  }
  .cyber-hero-section {
    width: 100%;
    min-height: 425px;
    background: linear-gradient(to right, #0b4382, #126cd3);
    position: relative;
    overflow: hidden;
    }
  .ai-hero-section {
    width: 100%;
    min-height: 400px;
    background: linear-gradient(to right, #570a7a, #a511cc);
    position: relative;
    overflow: hidden;
    }
  .graphics-hero-section {
    width: 100%;
    min-height: 425px;
    background: linear-gradient(to right, #0f8687, #12c0ca);
    position: relative;
    overflow: hidden;
    }
  .uiux-hero-section {
    width: 100%;
    min-height: 425px;
    background: linear-gradient(to right, #c57c42, #e0aa60);
    position: relative;
    overflow: hidden;
    }
  .project-management-hero-section {
    width: 100%;
    min-height: 400px;
    background: linear-gradient(to right, #72bf79, #99d49f);
    position: relative;
    overflow: hidden;
    }
  .editing-hero-section {
    width: 100%;
    min-height: 428px;
    background: linear-gradient(to right, #486852, #44866d);
    position: relative;
    overflow: hidden;
    } 
  .data-hero-section {
    width: 100%;
    min-height: 428px;
    background: linear-gradient(to right, #3b4f78, #326784);
    position: relative;
    overflow: hidden;
    }
    .content-hero-section {
    width: 100%;
    min-height: 400px;
    background: linear-gradient(to right, #126993, #1caccf);
    position: relative;
    overflow: hidden;
    } 
  .content-wrapper{
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  }
  
  .hero-text{
  max-width: 600px;
  color: white;
  z-index: 2;
  }
  
  .text-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  }
  
  .hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
  }
  
  .enrol-btn {
  padding: 12px 32px;
  font-size: 1rem;
  background-color: #59a0f1;
  color:  white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease;
  }
  
  .enrol-btn:hover {
  transform: translateY(-2px);
  }
  
  .image-wrapper {
    position: absolute;
    right: -23px;
    bottom: -154px;
    width: 400px;
    height: 400px;
  }

  .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }



/* For screens up to 1024px */
@media screen and (max-width: 1024px) {
  
.programming-hero-section {
  width: 100%;
  min-height: 358px;
  background: linear-gradient(to right, #0c658e, #12a1d0);
  position: relative;
  overflow: hidden;
  }
  .cyber-hero-section {
    width: 100%;
    min-height: 382px;
    background: linear-gradient(to right, #0b4382, #126cd3);
    position: relative;
    overflow: hidden;
    }
  .ai-hero-section {
    width: 100%;
    min-height: 358px;
    background: linear-gradient(to right, #570a7a, #a511cc);
    position: relative;
    overflow: hidden;
    }
  .graphics-hero-section {
    width: 100%;
    min-height: 408px;
    background: linear-gradient(to right, #0f8687, #12c0ca);
    position: relative;
    overflow: hidden;
    }
  .uiux-hero-section {
    width: 100%;
    min-height: 382px;
    background: linear-gradient(to right, #c57c42, #e0aa60);
    position: relative;
    overflow: hidden;
    }
  .project-management-hero-section {
    width: 100%;
    min-height: 384px;
    background: linear-gradient(to right, #72bf79, #99d49f);
    position: relative;
    overflow: hidden;
    }
  .editing-hero-section {
    width: 100%;
    min-height: 383px;
    background: linear-gradient(to right, #486852, #44866d);
    position: relative;
    overflow: hidden;
    } 
  .data-hero-section {
    width: 100%;
    min-height: 383px;
    background: linear-gradient(to right, #3b4f78, #326784);
    position: relative;
    overflow: hidden;
    }
    .content-hero-section {
    width: 100%;
    min-height: 358px;
    background: linear-gradient(to right, #126993, #1caccf);
    position: relative;
    overflow: hidden;
    } 
  .content-wrapper {
    padding: 30px;
  }

  .hero-text {
    max-width: 500px;
  }

  .text-content h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .image-wrapper {
    width: 350px;
    height: 350px;
    right: 1px;
    bottom: -130px;
  }
}

@media screen and (max-width: 480px){
    
.programming-hero-section {
  width: 100%;
  min-height: 350px;
  background: linear-gradient(to right, #0c658e, #12a1d0);
  position: relative;
  overflow: hidden;
  }
  .cyber-hero-section {
    width: 100%;
    min-height: 350px;
    background: linear-gradient(to right, #0b4382, #126cd3);
    position: relative;
    overflow: hidden;
    }
  .ai-hero-section {
    width: 100%;
    min-height: 326px;
    background: linear-gradient(to right, #570a7a, #a511cc);
    position: relative;
    overflow: hidden;
    }
  .graphics-hero-section {
    width: 100%;
    min-height: 375px;
    background: linear-gradient(to right, #0f8687, #12c0ca);
    position: relative;
    overflow: hidden;
    }
  .uiux-hero-section {
    width: 100%;
    min-height: 374px;
    background: linear-gradient(to right, #c57c42, #e0aa60);
    position: relative;
    overflow: hidden;
    }
  .project-management-hero-section {
    width: 100%;
    min-height: 394px;
    background: linear-gradient(to right, #72bf79, #99d49f);
    position: relative;
    overflow: hidden;
    }
  .editing-hero-section {
    width: 100%;
    min-height: 350px;
    background: linear-gradient(to right, #486852, #44866d);
    position: relative;
    overflow: hidden;
    } 
  .data-hero-section {
    width: 100%;
    min-height: 350px;
    background: linear-gradient(to right, #3b4f78, #326784);
    position: relative;
    overflow: hidden;
    }
    .content-hero-section {
    width: 100%;
    min-height: 393px;
    background: linear-gradient(to right, #126993, #1caccf);
    position: relative;
    overflow: hidden;
    } 
  .content-wrapper {
    flex-wrap: nowrap;
    gap: 20px;
  }

  .hero-text {
    max-width: 400px;
  }

  .text-content h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 0.95rem;
  }

  .image-wrapper {
    width: 300px;
    height: 300px;
    right: 1px;
    bottom: -100px;
  }

  .enrol-btn {
    padding: 10px 28px;
    font-size: 0.9rem;
  }
}

  /* For screens up to 440px */
@media screen and (max-width: 440px) {
  .programming-hero-section {
    width: 100%;
    min-height: 300px;
    background: linear-gradient(to right, #0c658e, #12a1d0);
    position: relative;
    overflow: hidden;
  }
  .cyber-hero-section {
    width: 100%;
    min-height: 300px;
    background: linear-gradient(to right, #0b4382, #126cd3);
    position: relative;
    overflow: hidden;
  }
  .ai-hero-section {
    width: 100%;
    min-height: 280px;
    background: linear-gradient(to right, #570a7a, #a511cc);
    position: relative;
    overflow: hidden;
  }
  .graphics-hero-section {
    width: 100%;
    min-height: 320px;
    background: linear-gradient(to right, #0f8687, #12c0ca);
    position: relative;
    overflow: hidden;
  }
  .uiux-hero-section {
    width: 100%;
    min-height: 310px;
    background: linear-gradient(to right, #c57c42, #e0aa60);
    position: relative;
    overflow: hidden;
  }
  .project-management-hero-section {
    width: 100%;
    min-height: 330px;
    background: linear-gradient(to right, #72bf79, #99d49f);
    position: relative;
    overflow: hidden;
  }
  .editing-hero-section {
    width: 100%;
    min-height: 300px;
    background: linear-gradient(to right, #486852, #44866d);
    position: relative;
    overflow: hidden;
  }
  .data-hero-section {
    width: 100%;
    min-height: 300px;
    background: linear-gradient(to right, #3b4f78, #326784);
    position: relative;
    overflow: hidden;
  }
  .content-hero-section {
    width: 100%;
    min-height: 300px;
    background: linear-gradient(to right, #126993, #1caccf);
    position: relative;
    overflow: hidden;
  }
  .content-wrapper {
    flex-wrap: nowrap;
    gap: 15px;
  }

  .hero-text {
    max-width: 320px;
  }

  .text-content h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 0.85rem;
  }

  .image-wrapper {
    width: 250px;
    height: 250px;
    right: 1px;
    bottom: -30px;
  }

  .enrol-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
  }
}

  /*overview starts */
.course-overview {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: white;
}

.course-content-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.course-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.course-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  flex: 1;
}

.detail-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.detail-card h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #333;
}

.detail-card ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.detail-card li {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 5px;
}

.about-course {
  margin-top: 40px;
}

.about-course h2 {
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 10px;
}

.about-course p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}
  
  /* Responsive Styles */

/* For screens up to 1024px */
@media screen and (max-width: 1024px) {
  .course-content-wrapper {
    gap: 15px;
  }

  .course-image img {
    max-width: 400px;
    height: 400px;
  }

  .course-details {
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 20px;
  }

  .detail-card h4 {
    font-size: 1.1rem;
  }

  .detail-card li {
    font-size: 0.85rem;
  }

  .about-course h2 {
    font-size: 1.6rem;
  }

  .about-course p {
    font-size: 0.95rem;
  }
}

/* For screens up to 768px */
@media screen and (max-width: 768px) {
  .course-content-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .course-image img {
    max-width: 500px;
    height: 400px;
  }

  .course-details {
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 20px;
  }

  .detail-card h4 {
    font-size: 1rem;
  }

  .detail-card li {
    font-size: 0.85rem;
  }

  .about-course h2 {
    font-size: 1.4rem;
  }

  .about-course p {
    font-size: 0.9rem;
  }
}

/* For screens up to 480px */
@media screen and (max-width: 480px) {
  .course-overview {
    padding: 15px;
  }

  .course-content-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .course-image img {
    max-width: 400px;
    height: 300px;
  }

  .course-details {
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 20px;
  }

  .detail-card {
    padding: 15px;
  }

  .detail-card h4 {
    font-size: 0.9rem;
  }

  .detail-card li {
    font-size: 0.8rem;
  }

  .about-course h2 {
    font-size: 1.2rem;
  }

  .about-course p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}

.curriculum-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  }
  
  h2 {
  font-size: 24px;
  margin-bottom: 60px;
  }
  .straight-line {
      border: none;
      border-top: 1px solid lightgray;
      margin: 20px 0;
    }
    
  
  .modules {
  display: flex;
  flex-direction: column;
  gap: 10px;
  }
  
  .module {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  }
  
  .module-button {
  width: 100%;
  padding: 15px 20px;
  background-color: #e6f3ff;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  }
  
  .module-button:hover {
  background-color: #d1e8ff;
  }
  
  .chevron {
  border: solid #333;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  }
  
  .module-button.active .chevron {
  transform: rotate(-135deg);
  }
  
  .lessons-container {
    display: none;
    padding: 20px 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2); /* Apply shadow only to the bottom */
    overflow: hidden;
    margin: 0px 0px 10px 0px;
    max-width: 100%;
  }
  
  
  .lessons-container.active {
  display: block;
  }
  
  .lessons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  }
  
  .lesson-card {
  background-color: #f0f5fc;
  border: 1px solid #f0f5fc;
  border-radius: 8px;
  padding: 15px;
  transition: border-color 0.3s ease;
  }
  
  .lesson-card:hover {
  border-color: #007bff;
  }
  
  .lesson-content {
  display: flex;
  gap: 15px;
  }
  
  .circle-icon {
  width: 25px;
  height: 25px;
  background-color: gold;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
  }
  
  .lesson-text h3 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
  }
  
  .lesson-text h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  }
  
  .lesson-text p {
  font-size: 14px;
  color: #666;
  }
  
  @media (max-width: 768px) {
  .lessons {
  grid-template-columns: 1fr; 
  }
  }




/* Testimonial Section */
.testimonial-section {
  text-align: center;
  padding: 3rem 2rem;
  background: #f9f9f9;
}

.testimonial-section h2 {
  font-size: 2rem;
  font-weight: bold;
}

.testimonial-section p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
}

.testimonial-slider {
  display: flex;
  overflow: hidden;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

.testimonial-card {
  flex: 0 0 300px; 
  max-width: 300px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.testimonial-card.active {
  background: #0A3C75;
  color: #fff;
}

/* Default colors for text */
.testimonial-card h4,
.testimonial-card span,
.testimonial-card p {
  color: #333; /* Default text color */
  transition: color 0.3s ease;
}

/* Active state */
.testimonial-card.active h4,
.testimonial-card.active span,
.testimonial-card.active p {
  color: #fff; /* White text when active */
}


.testimonial-card.active .quote-icon {
  color: #fff;
}


.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: #0A3C75; 
  margin-bottom: 1rem;
  align-self: flex-start; 
}

.testimonial-card h4 {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: bold;
}

.testimonial-card span {
  font-size: 0.9rem;
  color: #888;
}

.testimonial-img {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card .name-info {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  margin-top: 1rem;
}

.testimonial-card .name-info h4 {
  margin-right: 10px;
}

.testimonial-card .name-info span {
  color: #888;
}



/* Slider Controls */
.slider-controls {
  margin-top: 1.5rem;
}

.slider-controls button {
  background: #0A3C75;
  color: #fff;
  border: none;
  padding: 12px 20px;
  margin: 0 0.5rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.3rem;
}

.slider-controls button:hover {
  background: #ebebeb;
  color: #093c78;
}

/* Display Three Cards at Once */
.testimonial-slider {
  display: flex;
  gap: 1rem;
  overflow: hidden;
}

.testimonial-card {
  flex: 0 0 30%; /* Three cards per screen */
  max-width: 300px;
}

.testimonial-slider .testimonial-card:not(.active) {
  display: none;
}
/* Responsive Adjustments for Testimonial Section */

/* For screens up to 1024px */
@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 45%; /* Show two cards per view */
    max-width: 300px;
  }
  .testimonial-slider {
    gap: 1rem;
    justify-content: center;
  }
}

/* For screens up to 768px */
@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 80%; /* Show one card per view */
    max-width: 300px;
  }
  .testimonial-slider {
    gap: 1rem;
    justify-content: center;
  }
  .slider-controls button {
    padding: 10px 15px; /* Adjust button size for smaller screens */
    font-size: 1rem;
  }
}

/* For screens up to 480px */
@media (max-width: 480px) {
  .testimonial-card {
    flex: 0 0 100%; 
    max-width: 90%;
    width: 100%;
    padding: 1rem; 
  }
  .testimonial-slider {
    gap: 0.5rem; 
  }
  .slider-controls button {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
  .testimonial-card h4 {
    font-size: 1rem; 
  }
  .testimonial-card p {
    font-size: 0.85rem;
  }

  
.testimonial-card span {
  font-size: 0.9rem;
  color: #888;
}

.testimonial-img {
  position: absolute;
  bottom: 30px;
  left: 10px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card .name-info {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  margin-top: 1rem;
}

}





/* General Footer Styles */
.footer {
  background-color: #262642;
  color: #fff;
  padding: 2rem 1rem;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Footer Contact Section */
.footer-contact {
  flex: 1 1 250px;
  align-items: flex-start;
}

.footer-contact p {
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.logo-image-footer{
  max-width: 100px;
  margin-bottom: -20px;
  margin-left: -30px;
}
/* Footer Links */
.footer-links {
  flex: 1 1 200px;
  margin-top: 60px;
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #f9f9f9;
  text-transform: uppercase;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin: 0.5rem 0;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #007bff;
}

/* Footer Bottom Section */
.footer-bottom {
  border-top: 1px solid #ddd;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

.footer-bottom p {
  font-size: 0.9rem;
  margin: 0;
}

.footer-bottom span {
  color: #007bff;
}

.footer-contact i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%; 
  background-color: #fff; 
  color: #0A3C75; 
  font-size: 18px; 
  margin-right: 5px; 
}



/* For Tablets and Small Devices */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start; 
    text-align: left; 
  }

  .footer-contact,
  .footer-links {
    flex: 1 1 100%; 
    margin-bottom: 1rem;
  }
  .footer-contact{
    margin-bottom: -80px;
  }
  .footer-links {
    margin-bottom: -80px;
  }
  .footer-links ul {
    padding-left: 0;
    margin: 0;
  }

  .footer-links li {
    margin: 0.5rem 0;
  }
.footer-bottom {
  border-top: 1px solid #ddd;
  text-align: center;
  padding: 1rem 0;
  margin-top: 5rem;
}

}

/* For Extra Small Devices (Mobile Phones) */
@media (max-width: 480px) {
  .footer {
    padding: 20px;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start; 
    text-align: left;
  }

  .footer-contact,
  .footer-links {
    flex: 1 1 100%;
    margin-bottom: 1rem;
  }

  .footer-contact{
    margin-bottom: -80px;
  }
  .footer-links {
    margin-bottom: -80px;
  }
  .footer .footer-links a {
    font-size: 14px;
  }

  .footer .footer-bottom p {
    font-size: 14px;
  }
  .footer-bottom {
    border-top: 1px solid #ddd;
    text-align: center;
    padding: 1rem 0;
    margin-top: 5rem;
  }  
}
